package cn.oms.outpatient.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_group_template")
@ApiModel(value="OrderGroupTemplate对象", description="")
public class OrderGroupTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医嘱组模板ID（新增生成）UUID")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "医嘱组模板CODE（新增生成）(用于关联其他表)")
    @TableField("ORDER_GROUP_CODE")
    private String orderGroupCode;

    @ApiModelProperty(value = "医嘱组模板名称（前端手动填写的医嘱套模板名称）")
    @TableField("ORDER_GROUP_NAME")
    private String orderGroupName;

    @ApiModelProperty(value = "模板类型（0个人模板 1科室模板 2医院模板）")
    @TableField("TEMPLATE_TYPE")
    private Integer templateType;

    @ApiModelProperty(value = "科室CODE（对应科室表）")
    @TableField("DEPARTMENT_CODE")
    private String departmentCode;

    @ApiModelProperty(value = "区域CODE（对应区域表）")
    @TableField("AREA_CODE")
    private String areaCode;

    @ApiModelProperty(value = "医院CODE（对应医院表）")
    @TableField("HOSPITAL_CODE")
    private String hospitalCode;

    @ApiModelProperty(value = "模板创建人ID")
    @TableField("CREATE_MAN_ID")
    private String createManId;

    @ApiModelProperty(value = "模板创建人姓名")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "是否展示标记(0不展示 1展示)")
    @TableField("SHOW_FLAG")
    private Integer showFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
